local a = "撒旦"
print(a)
print("hi,lua")
local x=10;local y=99;
if x<y then
    -- string 是类 format格式化占位类相同
    print(string.format("%d < %d",x,y))
end

local i=0;local total = 0;
while i <=100 do
    total = total+i;
    i = i+1;
end
print("100以内的所有整数累加结果为:",total)


-- 键盘输入一个 值 计算平方
local n = io.read()
print(n ^ 2,tonumber(n,2))